PICK SCREEN
This command will calculate a relative 3D coordinate from a 2D screen coordinate. The additional Distance parameter indicates how far into the screen the 3D coordinate is to be calculated. The resulting 3D coordinate is not a world position, but a relative 3D vector from the current camera position. The world coordinate can be obtained by adding the camera position to the resulting vector. The resulting vector is generated internally and can be retrieved using the GET PICK VECTOR commands.
SYNTAX
PICK SCREEN Screen X, Screen Y, Distance
RELATED INFO
BASIC3D Commands Menu
Index
EXAMPLE
View Showcase Example
View Usage Example